package fun.easycode.webterminal.adapter.socket;

import fun.easycode.webterminal.common.contract.Enumerator;

public enum MessageContentType implements Enumerator<Integer> {

    Forward("转发", 1),
    Resize("调整终端大小", 2);

    private final String desc;
    private final Integer value;

    private MessageContentType(String desc, Integer value) {
        this.desc = desc;
        this.value = value;
    }

    @Override
    public String getDesc() {
        return this.desc;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }
}
